package ngames.com.sushitv.tools;

import android.content.Context;

import com.facebook.FacebookSdk;
import com.facebook.appevents.AppEventsLogger;
import com.facebook.login.LoginManager;

/**
 * Created by Jeffrey on 2016/8/1.
 */
public class FBHelp {
    public static void init(Context context) {
        FacebookSdk.sdkInitialize(context.getApplicationContext());
        AppEventsLogger.activateApp(context);
    }

    public static void logout() {
        LoginManager.getInstance().logOut();
    }
}
